Repository navigation
CATCH and STEMS - #321
Merged
Merged
CATCH and STEMS#321
Conversation
With REC off, record_note stamps every pad, KEYS and MIDI note into a ring per track (core/catchring.hpp). CATCH replays the last pass and the one before through quantize_hit, as a take would have written them (micro-timing, LEN from the hold, chords, REC MODE), every track at once, one undo level, at most 96 notes a press. START empties the ring; notes from another pattern origin are never caught. Host tests, scenario_catch, W116, docs. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tw2EaEK2oaJWJMdGQTNLPf
The second review's proposal 12, option A. A FUNC menu row under CATCH: OK starts the stems (and the transport, from stopped), STOP or OK again ends them. /RECORD/STEMS_<n>.WAV holds the eight tracks as 16 channels of 16 bits, after inserts, fader and pan; STEMS_<n>_FX.WAV the returns. The mixer adds each chain into its own stem plane (Mixer::set_stems), audio() queues the planes in a StemRing (core/stemring.hpp), and the main context packs them (strata_stem_pack16) for two wav::Writers. tools/split_stems.py makes eight stereo WAVs. Host tests, scenario_stems (59.90% GCC-only against 56.47% for the beat alone), W117, docs, BUDGET. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tw2EaEK2oaJWJMdGQTNLPf
CATCH and STEMS sit under ARR REC in DO (DOWN four and five from SAVE). The unit checks are W129 (CATCH) and W130 (STEMS). Screens redrawn. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tw2EaEK2oaJWJMdGQTNLPf
#312 put GEN ALL one DOWN from SAVE, and the scenario's single DOWN ran GEN ALL instead. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tw2EaEK2oaJWJMdGQTNLPf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Roland · project thread
The second Fable review (2026-11-30), proposal 12, option A for both rows. Roland: "implement it, I follow your recommendation". This is the last PR of the review.
CATCH is a row in the FUNC menu's DO part, under ARR REC (FUNC + HOME, DOWN four times).
CUT).CATCH: NOTHING PLAYEDandCATCH: PLAY FIRST.STEMS is the row under CATCH.
/RECORD/STEMS_<n>.WAVholds the eight tracks, each taken after its inserts, fader and pan, as 16 channels of 16 bits.STEMS_<n>_FX.WAVholds the send returns in stereo.tools/split_stems.pysplits the 16-channel file into eight stereo WAVs on a computer.Merge with main:
scenario_jamrec.shstill pressed one fixed DOWN, which since Menus by group: FUNC menu DO/SET, track menu groups, PROJECTS menu on a held OK #312 ran GEN ALL instead of JAM REC. It now finds the row by name, so the same test was also failing on main.tools/screenshots.sh).Checks
Generated by Claude Code